package com.zst.springbootjsonintegrationdemo.entities.movie;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class SimpleDTO {
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date date;
    private String strVal;
    private int intVal;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getStrVal() {
        return strVal;
    }

    public void setStrVal(String strVal) {
        this.strVal = strVal;
    }

    public int getIntVal() {
        return intVal;
    }

    public void setIntVal(int intVal) {
        this.intVal = intVal;
    }
}
